# MINIO_ROOT_USER and MINIO_ROOT_PASSWORD sets the root account for the MinIO server.
# This user has unrestricted permissions to perform S3 and administrative API operations on any resource in the deployment.
# Omit to use the default values 'minioadmin:minioadmin'.
# MinIO recommends setting non-default values as a best practice, regardless of environment.

MINIO_ROOT_USER={{ minio_root_user }}
MINIO_ROOT_PASSWORD={{ minio_root_pass }}

# MINIO_VOLUMES sets the storage volumes or paths to use for the MinIO server.
# The specified path uses MinIO expansion notation to denote a sequential series of drives between 1 and 4, inclusive.
# All drives or paths included in the expanded drive list must exist *and* be empty or freshly formatted for MinIO to start successfully.

{% if (minio_devices | count) > 1 %}
MINIO_VOLUMES="{{ minio_mountpoint_root }}/data{1...{{ minio_devices | count }}}"
{% else %}
MINIO_VOLUMES="{{ minio_mountpoint_root }}/data1"
{% endif %}

# MINIO_OPTS sets any additional commandline options to pass to the MinIO server.
# For example, `--console-address :9001` sets the MinIO Console listen port
MINIO_OPTS="--console-address :9001"

# Enables Virtual Host-style requests to the MinIO deployment. Set the value to the Fully Qualified Domain Name (FQDN) for MinIO to accept incoming virtual host requests.
MINIO_DOMAIN=minio.{{ elk_domain }}

# Set to on to enable data compression for new objects. Defaults to off.
# Enabling or disabling data compression does not change existing objects.
MINIO_COMPRESSION_ENABLE=on